package com.zelix;

import java.util.*;

class wy
    implements Iterator
{

    private final vy a;
    private Iterator b;
    private Object c;
    private boolean d;

    wy(vy vy1, Set set)
    {
        a = vy1;
        b = set.iterator();
    }

    public boolean hasNext()
    {
        return b.hasNext();
    }

    public Object next()
    {
        d = true;
        return b.next();
    }

    public void remove()
    {
label0:
        {
            if(d)
            {
                a.a.remove(c);
                d = false;
                if(hs.c == 0)
                    break label0;
            }
            throw new IllegalStateException();
        }
    }
}